/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufrgs.jsopa;

class ProcessDescriptor {

    private int PID;
    private int PC;
    private int[] reg;
    private ProcessDescriptor next;

    public ProcessDescriptor(int PID) {
        this.PID = PID;
        this.PC = 0;
        this.reg = new int[16];
    }

    public int getPID() {
        return PID;
    }

    public int getPC() {
        return PC;
    }

    public void setPC(int i) {
        PC = i;
    }

    public int[] getReg() {
        return reg;
    }

    public void setReg(int[] r) {
        reg = r;
    }

    public ProcessDescriptor getNext() {
        return next;
    }

    public void setNext(ProcessDescriptor n) {
        next = n;
    }
}
